﻿using UnityEngine;
using UnityEngine.UI;

public class RankingItemView : MonoBehaviour
{
    public Text Text1;
    public Text Text2;
    public Text Text3;
    public Text Text4;

    public Ranking Ranking{
        set{
            Text1.text = value.Username;
            Text2.text = value.StarNumber.ToString();
            Text3.text = value.Step.ToString();
            Text4.text = value.Time.ToString();
        }
    }
}
